<template>
  <div id="app">
    <Header ref="pageHeader"/>
    <section class="page-content">
      <router-view v-slot="{ Component, route }">
        <transition name="fade">
          <component :is="Component" :key="route.path" />
        </transition>
      </router-view>
    </section>
  </div>
</template>

<script>
import Header from "@/components/Header.vue";
export default {
  name: 'app',
  components: {
    Header
  },
  
}
</script>
<style lang="scss">
#app {
  font-family: "Avenir", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  height: 100%;
  background: #f2f2f2;
  overflow: hidden;
  .page-content {
    height: calc(100% - 70px);
  }
  
}
</style>
